package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
	
	 void deleteByPrimaryKey(Long id);

	void insert(Role entity, Long[] ids);

	Role selectByPrimaryKey(Long id);

	List<Role> selectAll();

	void updateByPrimaryKey(Role entity, Long[] ids);

	PageInfo query(QueryObject qo);
}
